package com.example.win.android_banduyujia.http.request;

import com.example.win.android_banduyujia.http.UrlContext;

import java.util.Map;

/**
 * Created by Win on 2015/10/12.
 */
public class LogoutRequest extends BaseHttpRequest {
    public static final String URL = UrlContext.Url_LoginOut.getContext();

    private boolean mAccessToken;

    public LogoutRequest(boolean logout) {
         this.mAccessToken = logout;
    }

    @Override
    protected String toRequestURL() {
        return URL;
    }

    @Override
    protected String toHttpMethod() {
        return HTTP_METHOD_POST;
    }

    @Override
    protected void toHttpRequestParams(Map<String, String> params) {
        params.put("access_token", "token");
    }
}
